/*
 * Copyright 2022 NXP
 * SPDX-License-Identifier: MIT
 */

#include "lvgl/lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "custom.h"


void setup_scr_thermometer(lv_ui *ui){

	//Write codes thermometer
	ui->thermometer = lv_obj_create(NULL, NULL);

	//Write codes thermometer_chart_1
	ui->thermometer_chart_1 = lv_chart_create(ui->thermometer, NULL);

	//Write style LV_CHART_PART_BG for thermometer_chart_1
	static lv_style_t style_thermometer_chart_1_bg;
	lv_style_reset(&style_thermometer_chart_1_bg);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_chart_1_bg
	lv_style_set_bg_color(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, 255);
	lv_style_set_pad_left(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, 5);
	lv_style_set_pad_right(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, 5);
	lv_style_set_pad_top(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, 5);
	lv_style_set_pad_bottom(&style_thermometer_chart_1_bg, LV_STATE_DEFAULT, 5);

	//Write style state: LV_STATE_FOCUSED for style_thermometer_chart_1_bg
	lv_style_set_border_color(&style_thermometer_chart_1_bg, LV_STATE_FOCUSED, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_border_width(&style_thermometer_chart_1_bg, LV_STATE_FOCUSED, 0);
	lv_obj_add_style(ui->thermometer_chart_1, LV_CHART_PART_BG, &style_thermometer_chart_1_bg);

	//Write style LV_CHART_PART_SERIES_BG for thermometer_chart_1
	static lv_style_t style_thermometer_chart_1_series_bg;
	lv_style_reset(&style_thermometer_chart_1_series_bg);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_chart_1_series_bg
	lv_style_set_line_color(&style_thermometer_chart_1_series_bg, LV_STATE_DEFAULT, lv_color_make(0xe8, 0xe8, 0xe8));
	lv_style_set_line_width(&style_thermometer_chart_1_series_bg, LV_STATE_DEFAULT, 2);
	lv_style_set_line_opa(&style_thermometer_chart_1_series_bg, LV_STATE_DEFAULT, 255);
	lv_obj_add_style(ui->thermometer_chart_1, LV_CHART_PART_SERIES_BG, &style_thermometer_chart_1_series_bg);
	lv_obj_set_pos(ui->thermometer_chart_1, 0, 120);
	lv_obj_set_size(ui->thermometer_chart_1, 240, 200);
	lv_chart_set_type(ui->thermometer_chart_1,LV_CHART_TYPE_COLUMN);
	lv_chart_set_range(ui->thermometer_chart_1,0,100);
	lv_chart_set_div_line_count(ui->thermometer_chart_1, 3, 5);
	lv_chart_set_point_count(ui->thermometer_chart_1, 10);
	lv_chart_series_t * thermometer_chart_1_0 = lv_chart_add_series(ui->thermometer_chart_1, lv_color_make(0xfb, 0x09, 0x09));
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_0,25);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_0,30);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_0,28);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_0,25);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_0,22);
	lv_chart_series_t * thermometer_chart_1_1 = lv_chart_add_series(ui->thermometer_chart_1, lv_color_make(0x11, 0xff, 0x00));
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_1,85);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_1,90);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_1,85);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_1,90);
	lv_chart_set_next(ui->thermometer_chart_1, thermometer_chart_1_1,85);

	//Write codes thermometer_arc_temp
	ui->thermometer_arc_temp = lv_arc_create(ui->thermometer, NULL);

	//Write style LV_ARC_PART_BG for thermometer_arc_temp
	static lv_style_t style_thermometer_arc_temp_bg;
	lv_style_reset(&style_thermometer_arc_temp_bg);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_arc_temp_bg
	lv_style_set_bg_color(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, 255);
	lv_style_set_border_width(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, 0);
	lv_style_set_line_color(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, lv_color_make(0xd4, 0xd7, 0xd9));
	lv_style_set_line_width(&style_thermometer_arc_temp_bg, LV_STATE_DEFAULT, 16);
	lv_obj_add_style(ui->thermometer_arc_temp, LV_ARC_PART_BG, &style_thermometer_arc_temp_bg);

	//Write style LV_ARC_PART_INDIC for thermometer_arc_temp
	static lv_style_t style_thermometer_arc_temp_indic;
	lv_style_reset(&style_thermometer_arc_temp_indic);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_arc_temp_indic
	lv_style_set_line_color(&style_thermometer_arc_temp_indic, LV_STATE_DEFAULT, lv_color_make(0x01, 0xa2, 0xb1));
	lv_style_set_line_width(&style_thermometer_arc_temp_indic, LV_STATE_DEFAULT, 16);
	lv_obj_add_style(ui->thermometer_arc_temp, LV_ARC_PART_INDIC, &style_thermometer_arc_temp_indic);
	lv_obj_set_pos(ui->thermometer_arc_temp, 0, 0);
	lv_obj_set_size(ui->thermometer_arc_temp, 120, 120);
	lv_arc_set_bg_angles(ui->thermometer_arc_temp, 0, 360);
	lv_arc_set_angles(ui->thermometer_arc_temp, 90, 180);
	lv_arc_set_rotation(ui->thermometer_arc_temp, 0);
	lv_obj_set_style_local_pad_top(ui->thermometer_arc_temp, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_obj_set_style_local_pad_bottom(ui->thermometer_arc_temp, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_obj_set_style_local_pad_left(ui->thermometer_arc_temp, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_obj_set_style_local_pad_right(ui->thermometer_arc_temp, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);

	//Write codes thermometer_arc_humi
	ui->thermometer_arc_humi = lv_arc_create(ui->thermometer, NULL);

	//Write style LV_ARC_PART_BG for thermometer_arc_humi
	static lv_style_t style_thermometer_arc_humi_bg;
	lv_style_reset(&style_thermometer_arc_humi_bg);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_arc_humi_bg
	lv_style_set_bg_color(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, 255);
	lv_style_set_border_width(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, 0);
	lv_style_set_line_color(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, lv_color_make(0xd4, 0xd7, 0xd9));
	lv_style_set_line_width(&style_thermometer_arc_humi_bg, LV_STATE_DEFAULT, 16);
	lv_obj_add_style(ui->thermometer_arc_humi, LV_ARC_PART_BG, &style_thermometer_arc_humi_bg);

	//Write style LV_ARC_PART_INDIC for thermometer_arc_humi
	static lv_style_t style_thermometer_arc_humi_indic;
	lv_style_reset(&style_thermometer_arc_humi_indic);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_arc_humi_indic
	lv_style_set_line_color(&style_thermometer_arc_humi_indic, LV_STATE_DEFAULT, lv_color_make(0x01, 0xa2, 0xb1));
	lv_style_set_line_width(&style_thermometer_arc_humi_indic, LV_STATE_DEFAULT, 16);
	lv_obj_add_style(ui->thermometer_arc_humi, LV_ARC_PART_INDIC, &style_thermometer_arc_humi_indic);
	lv_obj_set_pos(ui->thermometer_arc_humi, 120, 0);
	lv_obj_set_size(ui->thermometer_arc_humi, 120, 120);
	lv_arc_set_bg_angles(ui->thermometer_arc_humi, 0, 360);
	lv_arc_set_angles(ui->thermometer_arc_humi, 90, 180);
	lv_arc_set_rotation(ui->thermometer_arc_humi, 0);
	lv_obj_set_style_local_pad_top(ui->thermometer_arc_humi, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_obj_set_style_local_pad_bottom(ui->thermometer_arc_humi, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_obj_set_style_local_pad_left(ui->thermometer_arc_humi, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_obj_set_style_local_pad_right(ui->thermometer_arc_humi, LV_ARC_PART_BG, LV_STATE_DEFAULT, 5);
	lv_anim_path_t lv_anim_path_thermometer_thermometer2screen = {.cb = lv_anim_path_linear};

	//Write codes thermometer_thermometer2screen
	ui->thermometer_thermometer2screen = lv_btn_create(ui->thermometer, NULL);

	//Write style LV_BTN_PART_MAIN for thermometer_thermometer2screen
	static lv_style_t style_thermometer_thermometer2screen_main;
	lv_style_reset(&style_thermometer_thermometer2screen_main);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_thermometer2screen_main
	lv_style_set_radius(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, 50);
	lv_style_set_bg_color(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, 150);
	lv_style_set_border_color(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, lv_color_make(0x01, 0xa2, 0xb1));
	lv_style_set_border_width(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, 2);
	lv_style_set_border_opa(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, 100);
	lv_style_set_outline_color(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, lv_color_make(0xd4, 0xd7, 0xd9));
	lv_style_set_outline_opa(&style_thermometer_thermometer2screen_main, LV_STATE_DEFAULT, 50);
	lv_obj_add_style(ui->thermometer_thermometer2screen, LV_BTN_PART_MAIN, &style_thermometer_thermometer2screen_main);
	lv_obj_set_pos(ui->thermometer_thermometer2screen, 95, 320);
	lv_obj_set_size(ui->thermometer_thermometer2screen, 50, 50);

	//Write animation: thermometer_thermometer2screenmove in y direction
	lv_anim_t thermometer_thermometer2screen_y;
	lv_anim_init(&thermometer_thermometer2screen_y);
	lv_anim_set_var(&thermometer_thermometer2screen_y, ui->thermometer_thermometer2screen);
	lv_anim_set_time(&thermometer_thermometer2screen_y, 300);
	lv_anim_set_exec_cb(&thermometer_thermometer2screen_y, (lv_anim_exec_xcb_t)lv_obj_set_y);
	lv_anim_set_values(&thermometer_thermometer2screen_y, lv_obj_get_y(ui->thermometer_thermometer2screen), 260);
	_lv_memcpy_small(&thermometer_thermometer2screen_y.path, &lv_anim_path_thermometer_thermometer2screen, sizeof(lv_anim_path_cb_t));
	lv_anim_start(&thermometer_thermometer2screen_y);

	ui->thermometer_thermometer2screen_label = lv_label_create(ui->thermometer_thermometer2screen, NULL);
	lv_label_set_text(ui->thermometer_thermometer2screen_label, "<");
	lv_obj_set_style_local_text_color(ui->thermometer_thermometer2screen_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_obj_set_style_local_text_font(ui->thermometer_thermometer2screen_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &lv_font_simsun_20);

	//Write codes thermometer_temp
	ui->thermometer_temp = lv_label_create(ui->thermometer, NULL);
	lv_label_set_text(ui->thermometer_temp, "温度:");
	lv_label_set_long_mode(ui->thermometer_temp, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->thermometer_temp, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for thermometer_temp
	static lv_style_t style_thermometer_temp_main;
	lv_style_reset(&style_thermometer_temp_main);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_temp_main
	lv_style_set_radius(&style_thermometer_temp_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_thermometer_temp_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_temp_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_temp_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_temp_main, LV_STATE_DEFAULT, 255);
	lv_style_set_text_color(&style_thermometer_temp_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0x00, 0x00));
	lv_style_set_text_font(&style_thermometer_temp_main, LV_STATE_DEFAULT, &lv_font_simsun_20);
	lv_style_set_text_letter_space(&style_thermometer_temp_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_thermometer_temp_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_thermometer_temp_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_thermometer_temp_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_thermometer_temp_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->thermometer_temp, LV_LABEL_PART_MAIN, &style_thermometer_temp_main);
	lv_obj_set_pos(ui->thermometer_temp, 30, 40);
	lv_obj_set_size(ui->thermometer_temp, 56, 0);

	//Write codes thermometer_humi
	ui->thermometer_humi = lv_label_create(ui->thermometer, NULL);
	lv_label_set_text(ui->thermometer_humi, "湿度:");
	lv_label_set_long_mode(ui->thermometer_humi, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->thermometer_humi, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for thermometer_humi
	static lv_style_t style_thermometer_humi_main;
	lv_style_reset(&style_thermometer_humi_main);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_humi_main
	lv_style_set_radius(&style_thermometer_humi_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_thermometer_humi_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_humi_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_humi_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_humi_main, LV_STATE_DEFAULT, 255);
	lv_style_set_text_color(&style_thermometer_humi_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0xff, 0x00));
	lv_style_set_text_font(&style_thermometer_humi_main, LV_STATE_DEFAULT, &lv_font_simsun_20);
	lv_style_set_text_letter_space(&style_thermometer_humi_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_thermometer_humi_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_thermometer_humi_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_thermometer_humi_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_thermometer_humi_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->thermometer_humi, LV_LABEL_PART_MAIN, &style_thermometer_humi_main);
	lv_obj_set_pos(ui->thermometer_humi, 150, 40);
	lv_obj_set_size(ui->thermometer_humi, 56, 0);

	//Write codes thermometer_temp_value
	ui->thermometer_temp_value = lv_label_create(ui->thermometer, NULL);
	lv_label_set_text(ui->thermometer_temp_value, "25");
	lv_label_set_long_mode(ui->thermometer_temp_value, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->thermometer_temp_value, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for thermometer_temp_value
	static lv_style_t style_thermometer_temp_value_main;
	lv_style_reset(&style_thermometer_temp_value_main);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_temp_value_main
	lv_style_set_radius(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 255);
	lv_style_set_text_color(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_font(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, &lv_font_simsun_20);
	lv_style_set_text_letter_space(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_thermometer_temp_value_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->thermometer_temp_value, LV_LABEL_PART_MAIN, &style_thermometer_temp_value_main);
	lv_obj_set_pos(ui->thermometer_temp_value, 40, 65);
	lv_obj_set_size(ui->thermometer_temp_value, 38, 0);

	//Write codes thermometer_hum_value
	ui->thermometer_hum_value = lv_label_create(ui->thermometer, NULL);
	lv_label_set_text(ui->thermometer_hum_value, "90");
	lv_label_set_long_mode(ui->thermometer_hum_value, LV_LABEL_LONG_BREAK);
	lv_label_set_align(ui->thermometer_hum_value, LV_LABEL_ALIGN_CENTER);

	//Write style LV_LABEL_PART_MAIN for thermometer_hum_value
	static lv_style_t style_thermometer_hum_value_main;
	lv_style_reset(&style_thermometer_hum_value_main);

	//Write style state: LV_STATE_DEFAULT for style_thermometer_hum_value_main
	lv_style_set_radius(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_bg_color(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_color(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, lv_color_make(0xff, 0xff, 0xff));
	lv_style_set_bg_grad_dir(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, LV_GRAD_DIR_VER);
	lv_style_set_bg_opa(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 255);
	lv_style_set_text_color(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, lv_color_make(0x00, 0x00, 0x00));
	lv_style_set_text_font(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, &lv_font_simsun_20);
	lv_style_set_text_letter_space(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 2);
	lv_style_set_pad_left(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_right(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_top(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 0);
	lv_style_set_pad_bottom(&style_thermometer_hum_value_main, LV_STATE_DEFAULT, 0);
	lv_obj_add_style(ui->thermometer_hum_value, LV_LABEL_PART_MAIN, &style_thermometer_hum_value_main);
	lv_obj_set_pos(ui->thermometer_hum_value, 160, 65);
	lv_obj_set_size(ui->thermometer_hum_value, 38, 0);

	//Init events for screen
	events_init_thermometer(ui);
}